import request from '@/utils/request'
const preUrl = '/world/system'
export default {
    selectOnlineUser() {
        return request({
            url: `${preUrl}/onlineUserCount`,
            method: 'get',
        })
    },
    selectHistoyData() {
        return request({
            url: `${preUrl}/historyLoginData`,
            method: 'get',
        })
    },
    selecSystemInfo() {
        return request({
            url: `${preUrl}/systemParams`,
            method: 'get',
        })
    },
    bindEmail(email){
        return request({
            url: `/world/admin/bindEmail`,
            method: 'post',
            data: email
        })
    },
    isBindEmail(email){
        return request({
            url: `/world/admin/isBindEmail`,
            method: 'get',
        })
    }
    
    
}
